const Router = [
  {
    path: '/',
    redirect: '/regionalizationMap'
  },
  // {
  //   path: '/',
  //   redirect: '/government-decision-making'
  // },
  //陇县首页
  {
    path: '/regionalizationMap',
    name: 'regionalizationMap',
    component: resolve=>(require(["@/views/page/regionalizationMap"],resolve)),
    meta: { title: '产业大数据服务平台' },
    children: []
  },
  {
    path: '/general-overview',
    name: 'general-overview',
    component: () => import('@/views/page/general-overview'),
    meta: { title: '综合概览' }
  },
  {
    path: '/environmental-monitoring',
    name: 'environmental-monitoring',
    component: () => import('@/views/page/environmental-monitoring'),
    meta: { title: '环境监测' }
  },
  // 企业经营
  {
    path: '/enterprise-management',
    name: 'enterprise-management',
    component: () => import('@/views/page/enterprise-management/index'),
    meta: { title: '企业经营' },
    children: [
      // {
      //   path: 'enterprise-management-child',
      //   name: 'enterprise-management-child',
      //   component: () => import('@/views/page/enterprise-management/enterprise-management'),
      //   meta: { title: '企业经营' }
      // }
    ]
  },
  // 政府决策
  {
    path: '/government-decision-making',
    name: 'government-decision-making',
    component: () => import('@/views/page/government-decision-making/index'),
    meta: { title: '政府决策' },
    children: [
      {
        path: 'industrial-development-level',
        name: 'industrial-development-level',
        component: () => import('@/views/page/government-decision-making/industrial-development-level'),
        meta: { title: '产业发展水平' }
      },
      // {
      //   path: 'world-development-level',
      //   name: 'world-development-level',
      //   component: () => import('@/views/page/government-decision-making/world-development-level'),
      //   meta: { title: '产业发展水平' }
      // },
      {
        path: 'county-industrial-layout',
        name: 'county-industrial-layout',
        component: () => import('@/views/page/government-decision-making/county-industrial-layout'),
        meta: { title: '全县产业布局' }
      },
      {
        path: 'country-support-policy',
        name: 'country-support-policy',
        component: () => import('@/views/page/government-decision-making/country-support-policy'),
        meta: { title: '县域扶持政策' }
      },
      {
        path: 'county-industrial-planning',
        name: 'county-industrial-planning',
        component: () => import('@/views/page/government-decision-making/county-industrial-planning'),
        meta: { title: '全县产业规划' }
      },
      {
        path: 'details',
        name: 'industrial-development-level',
        component: () => import('@/views/page/government-decision-making/details'),
      }

    ]
  },
  // 专家服务
  {
    path: '/expert-service',
    name: 'expert-service',
    component: () => import('@/views/page/expert-service/index'),
    meta: { title: '专家服务' },
    children: [

      {
        path: 'expertSystem',
        name: 'expertSystem',
        component: () => import('@/views/page/expert-service/expertSystem'),
        meta: { title: '专家信息' }
      },
      {
        path: 'technical-data',
        name: 'technical-data',
        component: () => import('@/views/page/expert-service/technical-data'),
        meta: { title: '技术资料' }
      },
      {
        path: 'industry-standard',
        name: 'industry-standard',
        component: () => import('@/views/page/expert-service/industry-standard'),
        meta: { title: '产业标准' }
      }
    ]
  },
  {
    path: '/constructionDisplay',
    name: 'constructionDisplay',
    component: () => import('@/views/page/regionalizationMap/constructionDisplay'),
    meta: { title: '陇县奶山羊大数据平台建设框架' },
    children: []
  },
  {
    path: '/industrial-evelopment',
    name: 'industrial-evelopment',
    component: () => import('@/views/page/industrial-evelopment'),
    meta: { title: '产业发展' },
    children: [
      {
        path: 'agricultural-production',
        name: 'agricultural-production',
        component: () => import('@/views/page/industrial-evelopment/agricultural-production'),
        meta: { title: '农业生产' }
      },
      {
        path: '/warehousing-logistics',
        name: 'warehousing-logistics',
        hidden: true,
        component: () => import('@/views/page/industrial-evelopment/warehousing-logistics'),
        meta: { title: '仓储物流' }
      },
      {
        path: 'agricultural-market',
        name: 'agricultural-market',
        component: () => import('@/views/page/industrial-evelopment/agricultural-market'),
        meta: { title: '农业市场' }
      },
      {
        path: 'industrial-economy',
        name: 'industrial-economy',
        component: () => import('@/views/page/industrial-evelopment/industrial-economy'),
        meta: { title: '产业经济' }
      },
      {
        path: 'agricultural-technology',
        name: 'agricultural-technology',
        component: () => import('@/views/page/industrial-evelopment/agricultural-technology'),
        meta: { title: '农业技术' }
      },
      {
        path: '/agricultural-products',
        name: 'agricultural-products',
        hidden: true,
        component: () => import('@/views/page/industrial-evelopment/agricultural-products'),
        meta: { title: '农产品质量' }
      }
    ]
  },
  // 产业决策
  {
    path: '/industrial-decision-making',
    name: 'industrial-decision-making',
    component: () => import('@/views/page/industrial-decision-making/index.vue'),
    meta: { title: '产业决策' },
    children: [
      {
        path: 'productivity-level',
        name: 'productivity-level',
        component: () => import('@/views/page/industrial-decision-making/productivity-level.vue'),
        meta: { title: '生产力发展水平' }
      },
      {
        path: 'industrial-development',
        name: 'industrial-development',
        component: () => import('@/views/page/industrial-decision-making/industrial-development'),
        meta: { title: '产业化发展' }
      },
      {
        path: 'industrial-development-analysis',
        name: 'industrial-development-analysis',
        component: () => import('@/views/page/industrial-decision-making/industrial-development-analysis'),
        meta: { title: '产业发展分析' }
      }
    ]
  },
  {
    path: '/test',
    component: () => import('@/views/page/test.vue')
  }
]

export default Router
